[DllImport("advapi32.dll", CharSet=CharSet.Unicode, SetLastError=true)]
public static extern unsafe bool QueryServiceStatusEx(IntPtr serviceHandle, int infoLevel, IntPtr buffer, int bufferSize, out int bytesNeeded);
<Runtime.InteropServices.DllImport("advapi32.dll", CharSet:=Runtime.InteropServices.CharSet.Auto, SetLastError:=True)> _
Public Shared Function QueryServiceStatus(ByVal hService As IntPtr, ByRef dwServiceStatus As SERVICE_STATUS) As Boolean
End Function
VB Signature:
Declare Function QueryServiceStatus Lib "advapi32.dll" (TODO) As TODO
The QueryServiceStatusEx function retrieves the current status of the specified service based on the specified information level.
2/26/2011 12:44:05 PM - -193.128.29.5
The SERVICE_STATUS structure contains information about a service. The ControlService, EnumDependentServices, EnumServicesStatus, and QueryServiceStatus functions use this structure to return information about a service. A service uses this structure in the SetServiceStatus function to report its current status to the service control manager.
7/12/2016 6:17:21 AM - -80.11.84.239
The OpenService function opens an existing service.
3/16/2007 7:33:51 AM - grinberg.nir@gmail.com-62.219.238.162
The QueryServiceStatusEx function retrieves the current status of the specified service based on the specified information level.
5/20/2011 5:54:47 AM - Arjan Mels-77.160.7.209
The SERVICE_STATUS structure contains information about a service. The ControlService, EnumDependentServices, EnumServicesStatus, and QueryServiceStatus functions use this structure to return information about a service. A service uses this structure in the SetServiceStatus function to report its current status to the service control manager.
7/12/2016 6:17:21 AM - -80.11.84.239
The OpenService function opens an existing service.
3/16/2007 7:33:51 AM - grinberg.nir@gmail.com-62.219.238.162